//
//  SIXNavigationController.m
//  weibo
//
//  Created by chenangel on 16/5/20.
//  Copyright © 2016年 chuhan. All rights reserved.
//

#import "SIXNavigationController.h"

@interface SIXNavigationController ()

@end

@implementation SIXNavigationController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    if (self.childViewControllers.count>0){
        
        viewController.hidesBottomBarWhenPushed =YES;
    }
    
    [super pushViewController:viewController animated:animated];
}


@end
